// SDCmd.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"
#include <string>
#include <iostream>
#include "SdManager.h"
int _tmain(int argc, _TCHAR* argv[])
{
	SdManager sd;
	for(wchar_t dr = L'A'; dr <= 'Z'; dr++){
		std::wstring drive;
		drive = dr;
		drive += L":\\";

		if(sd.CheckSDCard(drive.c_str())){
			std::wcout << drive << " is sd card\n" ;
		}
	}
	system("PAUSE");
	return 0;
}

